package com.database.service;

import com.database.character.Praise;

import java.util.List;

public interface PraiseService {

  //添加点赞
  void addPraise(Praise praise);

  //取消点赞
  void deletePraiseByPostId(Integer postId);

  //根据userId查询点赞
  List<Praise> getPraiseByUid(Integer userId);
}
